//C:9.7:twofile1.cpp -- variable with external and internal lingages
#include <iostream>    // to be compiled with two file2.cpp
int tom = 3;    // external variable definition
int dick = 30;  // external variable definition
static int harry = 300;    // static internal lingkage
// function prototype
void remote_access();

int main(void)
{
    using namespace std;
    cout << "main() reports the following address:\n";
    cout << &tom << " = &tom, " << &dick << " = &dick ";
    cout << &harry << " = &harry\n";
    remote_access();
    return 0;
}
